SUBDIRS = depslib resources

INCLUDES = $(WX_CXXFLAGS) \
		-I$(top_srcdir)/src/sdk \
		-I$(top_srcdir)/src/sdk/wxscintilla/include \
		-I$(top_srcdir)/src/sdk/scripting/include \
		-I$(top_srcdir)/src/sdk/scripting/sqplus \
		-I$(top_srcdir)/src/plugins/compilergcc/depslib/src

AM_CXXFLAGS = -DDEPSLIB_UNIX

libdir = $(pkgdatadir)/plugins

lib_LTLIBRARIES = libcompiler.la

libcompiler_la_LDFLAGS = -module -version-info 0:1:0 -shared -no-undefined -avoid-version

libcompiler_la_LIBADD = ../../sdk/libcodeblocks.la \
				depslib/src/libdepslib.la

libcompiler_la_SOURCES = advancedcompileroptionsdlg.cpp \
			compilerBCC.cpp \
			compiler_defs.cpp \
			compilerDMC.cpp \
			compilerDMD.cpp \
			compilererrors.cpp \
			compilergcc.cpp \
			compilerGDC.cpp \
			compilerICC.cpp \
			compilermessages.cpp \
			compilerMINGW.cpp \
			compilerMINGWgenerator.cpp \
			compilerMSVC.cpp \
			compileroptionsdlg.cpp \
			compilerOW.cpp \
			compilerSDCC.cpp \
			compilerGNUARM.cpp \
			compilerTcc.cpp \
			directcommands.cpp \
			makefilegenerator.cpp

noinst_HEADERS = advancedcompileroptionsdlg.h \
			compilerBCC.h \
			compiler_defs.h \
			compilerDMC.h \
			compilerDMD.h \
			compilererrors.h \
			compilergcc.h \
			compilerGDC.h \
			compilerICC.h \
			compilermessages.h \
			compilerMINGW.h \
			compilerMINGWgenerator.h \
			compilerMSVC.h \
			compileroptionsdlg.h \
			compilerOW.h \
			compilerSDCC.h \
			compilerGNUARM.h \
			compilerTcc.h \
			directcommands.h \
			makefilegenerator.h
